<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" 
	xmlns:p="http://primefaces.org/ui">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Login Para H6 educacional</title>
</h:head>
<h:body>
	<!-- campos login e senha required="true" - mudar -->
	<h:form id="form">
		<p:panel header="Acesso no Sistema H6 Educacional" style="margin-bottom:10px;">
			<h:panelGrid columns="2">
				<h:outputText value="Login"></h:outputText>
				<p:inputText id ="Login" value="#{senhaManager.login}" />
				<h:outputText value="Senha"></h:outputText>
				<p:password id="Senha" value="#{senhaManager.password}" />
				<p:commandButton value="Entrar" action="#{senhaManager.fazLogin}" ajax="false" update="dialog" oncomplete="dialog.show()" /> 
			</h:panelGrid>
			<h:messages id="msgErro" style="color: red"/>
		</p:panel> 
	</h:form>
	 
</h:body>
</html>